using System.IO;

namespace OFX.Aggregator.Infrastructure
{
	public interface IStatementSerializer
	{
		/// <summary>
		/// Serializes the statement into the OFX.Aggregator format, returning a implementer-defined data value that identifies (or contains) the statement
		/// </summary>
		/// <param name="statement">The statement to be serialized</param>
		/// <returns>Returns a <see cref="System.IO.Stream"/> containing the serialized statement.</returns>
		Stream Serialize(Statement statement);
	}
}